apply to the court for relief